package com.example.windowdemo.callback;

import com.example.windowdemo.window.Window;

/**
 * @author: njb
 * @date: 2023/8/3 13:57
 * @desc: 观察者模式
 */
public interface WindowObserver<T> {
    void onWindowShow(Window<T> window);
    void onWindowHide(Window<T> window);
    void onWindowDataChange(Window<T> window, T data);
}
